//
//  WYHXNetWorkService.h
//  WYHXGameProject
//
//  Created by 常金城 on 2018/6/4.
//  Copyright © 2018年 liubo. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface WYHXNetWorkService : NSObject

/**
 Api名称

 @param pathUrl 请求的api名称
 @param params 请求的参数
 @param block 请求回调
 */
+ (void)netWorkSerViceRequestWithPostUrl:(NSString *)pathUrl withPostParams:(NSMutableDictionary *)params withBlock:(void(^)(NSDictionary *result, NSError *error))block;
+ (void)netWorkSerViceRequestWithGetUrl:(NSString *)pathUrl withPostParams:(NSMutableDictionary *)params withBlock:(void(^)(NSDictionary * result, NSError * error))block;
// 上传图片
+(void)uploadSinglePhotoWith:(NSString *)path params:(NSDictionary *)params WithDataArray:(NSMutableArray *)dataArray withParamsArray:(NSMutableArray *)fileParams AndFinish:(void (^)(NSDictionary *, NSError *))completionHandler;
@end
